package indi.luckly.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import indi.luckly.entity.RoleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository("roleMapper")
public interface IRoleMapper extends BaseMapper<RoleEntity> {

    List<RoleEntity> findRoleByUserId(int uid);
}
